#ifndef TraceFunction_h
#define TraceFunction_h

#include "SimpleLogMarco.h"

namespace catan
{
	class SimpleLog;

	class TraceFunction
	{
	public:
		TraceFunction(const tstring& funcName, const tstring& filename, int line);
		~TraceFunction();

	private:
		tstring mFuncName;
		tstring mFilename;
		int mLine;

		SimpleLog& mLog;

		bool mCanOutput;
	};
}

#endif
